package ${jpad.packageName}.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "${jpad.tabName}")
public class  ${jpad.domainName} {

  <#list jpad.propertyList as being>		
    <#if (being.isPK == 'y')>
  	@Id
  	</#if> 
  	@Column(name = "${being.columnName}")
  	private ${being.type} ${being.columnName};
  </#list>	
  
  

  <#list jpad.propertyList as being>		
  	public void  set${being.columnName?cap_first}(${being.type} ${being.columnName}){
  		this.${being.columnName} = ${being.columnName};
  	}
	public ${being.type} get${being.columnName?cap_first}(){
  		return this.${being.columnName}; 
  	}
  </#list>	

}